﻿using System;
using System.Collections.Generic;
using System.Linq;
using Infrastucture;

namespace TimeSplicerModule.DomainModels
{
    public class ScheduledTaskModel : DomainObject
    {
        private Guid _scheduledTaskGuid;
        private Guid _scheduleGuid;
        private Guid _taskInstanceGuid;
        private int _instanceNumber;
        private bool _isCompleted;
        private DateTime _startDate;
        private DateTime _completedDate;


        public Guid ScheduledTaskGuid
        {
            get { return _scheduledTaskGuid; }
            set { SetProperty(ref _scheduledTaskGuid, value); }
        }
        public Guid ScheduleGuid
        {
            get { return _scheduleGuid; }
            set { SetProperty(ref _scheduleGuid, value); }
        }
        public Guid TaskInstanceGuid
        {
            get { return _taskInstanceGuid; }
            set { SetProperty(ref _taskInstanceGuid, value); }
        }
        public int InstanceNumber
        {
            get { return _instanceNumber; }
            set { SetProperty(ref _instanceNumber, value); }
        }
        public bool IsCompleted
        {
            get { return _isCompleted; }
            set { SetProperty(ref _isCompleted, value); }
        }
        public DateTime StartDate
        {
            get { return _startDate; }
            set { SetProperty(ref _startDate, value); }
        }
        public DateTime CompletedDate
        {
            get { return _completedDate; }
            set { SetProperty(ref _completedDate, value); }
        }
    }
}
